package com.siki.entity.bigdata;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.util.Optional;

/**
 * @author Siki
 * @date 2020/12/22
 */

@ApiModel("象棋数据封装实体")
@Setter
@Getter
@NoArgsConstructor
@Accessors(chain = true)
public class Chess {
    @TableId(type = IdType.AUTO)
    @ApiModelProperty("数据id")
    private Integer id;

    @ApiModelProperty("走棋参数")
    private String init;

    @ApiModelProperty("根据init参数应对的走棋参数")
    private String moveInit;

    @ApiModelProperty("出现次数")
    private String count;
}
